TrackingContextStub

Created by selwynleeke on 2014-12-17.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open val apiKey: String
Link copied to clipboard
open var configuration: IConfiguration
Link copied to clipboard
Link copied to clipboard
open var userSamplingSelection: UserSamplingSelection

Functions

Link copied to clipboard
open fun abortSurvey()
Link copied to clipboard
Indicate that the local notification associated with the invitation has been accepted
Link copied to clipboard
open fun acceptInvitation()
Indicate that the survey invitation has been accepted
Link copied to clipboard
open fun addObserver(observer: TriggerEventObserver)
Link copied to clipboard
Link copied to clipboard
Indicate that the application has launched
Link copied to clipboard
Link copied to clipboard
open fun checkState()
Checks the state of the tracker.
Link copied to clipboard
open fun cleanUp()
Link copied to clipboard
open fun closeModalView()
Link copied to clipboard
open fun completeSurvey()
Indicate that the survey has been completed
Link copied to clipboard
open fun currentConfigurationFromJson(@Nullable jsonString: String): IConfiguration
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Indicate that the survey invitation has been declined
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getCurrentConfiguration(): Configuration
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getIsEnabled(): Boolean
open fun getIsEnabled(): Boolean
Link copied to clipboard
open fun getPageViews(): Int
Link copied to clipboard
Link copied to clipboard
open fun getStringsProvider(): StringsProvider
Link copied to clipboard
open fun getSurveyUrlBase(style: SurveyStyle): String
Link copied to clipboard
Link copied to clipboard
Getter for the API key
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Increment the significant event count for a given event key
Link copied to clipboard
open fun initLogging(application: Application)
Link copied to clipboard
open fun intitializeState(context: Context)
Link copied to clipboard
Link copied to clipboard
Will return true from the time an activity has been initiated (e.g.
Link copied to clipboard
open fun launchExitInvitation(measureConfiguration: MeasureConfigurationInternal)
Link copied to clipboard
open fun launchInvitation(measureConfiguration: MeasureConfigurationInternal)
Link copied to clipboard
open fun launchREContactInvitation(measureConfiguration: MeasureConfigurationInternal)
Link copied to clipboard
open fun launchREInvitation(measureConfiguration: MeasureConfigurationInternal)
Link copied to clipboard
Link copied to clipboard
open fun launchRESurvey(measureConfiguration: MeasureConfigurationInternal)
Link copied to clipboard
open fun launchSurvey(measureConfiguration: MeasureConfigurationInternal)
Link copied to clipboard
open fun onActivityPaused(activity: Activity)
Link copied to clipboard
open fun onActivityResumed(activity: Activity)
Link copied to clipboard
open fun onActivityStarted(activity: Activity)
Link copied to clipboard
open fun onActivityStopped(activity: Activity)
Link copied to clipboard
open fun onInviteAccepted(measureConfiguration: MeasureConfigurationInternal)
Called by the Tracker when the invitation is accepted
Link copied to clipboard
open fun onInviteDeclined(measureConfiguration: MeasureConfigurationInternal)
Called by the Tracker when the invitation is declined
Link copied to clipboard
open fun onInvitePresented(measureConfiguration: MeasureConfigurationInternal)
Called by the Tracker when the invitation is presented
Link copied to clipboard
open fun onLocalNotificationReceived(measureConfiguration: MeasureConfigurationInternal)
Link copied to clipboard
Link copied to clipboard
open fun onReactivated()
Link copied to clipboard
open fun onSamplingCheckCompleted(measureConfiguration: MeasureConfigurationInternal, isInPool: Boolean)
Called by Tracker when the sampling pool check is completed on a given measure
Link copied to clipboard
abstract fun onStateChangeRequested(p: SdkEventType)
open fun onStateChangeRequested(@NonNull eventType: SdkEventType)
Link copied to clipboard
open fun onSurveyAborted(measureConfiguration: MeasureConfigurationInternal)
Called by the Tracker when the survey is aborted
Link copied to clipboard
open fun onSurveyCompleted(measureConfiguration: MeasureConfigurationInternal)
Called by the Tracker when the survey is completed
Link copied to clipboard
open fun onSurveyFailsToShow(measureConfiguration: MeasureConfigurationInternal)
Called by the Tracker when the survey fails to show
Link copied to clipboard
open fun onSurveyFailsToSubmit(measureConfiguration: MeasureConfigurationInternal)
Called by the Tracker when the survey fails to submit
Link copied to clipboard
open fun onSurveyRequested(measureConfiguration: MeasureConfigurationInternal)
Called by the Tracker when a survey is requested
Link copied to clipboard
open fun onSurveyShown(measureConfiguration: MeasureConfigurationInternal)
Called by the Tracker when a survey is shown
Link copied to clipboard
abstract fun onWebSDKEventReceived(p: SdkEventType)
open fun onWebSDKEventReceived(@NonNull newEvent: SdkEventType)
Link copied to clipboard
open fun persistState(persistedState: PersistedState)
Persist the PersistedState to SharedPreferences
Link copied to clipboard
open fun prepare(application: Application, stopgapConfig: IConfiguration): Boolean
The start method has been divided into two parts to improve start-up time - this is the part that must be done before control is handed back to the application
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun removeObserver(observer: TriggerEventObserver): Boolean
Link copied to clipboard
open fun resetAll()
Resets all persisted state.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setDeclineDate(declineDate: Date)
Link copied to clipboard
open fun setInviteListener(inviteListener: BaseInviteListener)
Link copied to clipboard
open fun setNotificationServiceImpl(notificationService: NotificationService)
Link copied to clipboard
open fun setPersistedState(persistedState: PersistedState)
Link copied to clipboard
open fun setRespondentId(rid: String)
Link copied to clipboard
open fun setSignificantEventCount(key: String, value: Int)
Link copied to clipboard
open fun setStringsProvider(stringsProvider: StringsProvider)
Link copied to clipboard
open fun setSurveyActivityInitiated(initiated: Boolean)
Link copied to clipboard
open fun setTrackerState(rulesEngineTrackingState: AbstractTrackerState)
Link copied to clipboard
open fun setUnifiedSampling(instance: SdkEventHandler)
Link copied to clipboard
open fun setWorkManager(workManager: WorkManager)
Link copied to clipboard
open fun start(context: Context): Boolean
Link copied to clipboard
open fun triggerInvitation(surveyId: String)
Link copied to clipboard
open fun triggerSurvey(surveyId: String)
Link copied to clipboard
Link copied to clipboard
open fun update(context: Application, newConfiguration: IConfiguration)